package org.jeecg.modules.wangyue.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Description: 技师订单表
 * @Author: jeecg-boot
 * @Date:   2023-06-30
 * @Version: V1.0
 */
@Data
@TableName("tb_indent_js")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="tb_indent_js对象", description="技师订单表")
public class IndentJs {
    
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
	private String id;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
	private String orderNo;
	/**下单用户id*/
	@Excel(name = "下单用户id", width = 15)
    @ApiModelProperty(value = "下单用户id")
	@NotBlank(message = "下单用户id不能为空")
	private String placeUserId;
	/**下单用户类型*/
	@Excel(name = "下单用户类型", width = 15)
    @ApiModelProperty(value = "下单用户类型")
	@NotBlank(message = "下单用户类型不能为空")
	private String placeUserType;
	/**下单用户名*/
	@Excel(name = "下单用户名", width = 15)
	@ApiModelProperty(value = "下单用户名")
	@NotBlank(message = "下单用户名不能为空")
	private String placeUserName;
	/**下单用户电话*/
	@Excel(name = "下单用户电话", width = 15)
	@ApiModelProperty(value = "下单用户电话")
	@NotBlank(message = "下单用户电话不能为空")
	private String placeUserPhone;
	/**接单用户id*/
	@Excel(name = "接单用户id", width = 15)
    @ApiModelProperty(value = "接单用户id")
	@NotBlank(message = "接单用户id不能为空")
	private String takingUserId;
	/**接单用户类型*/
	@Excel(name = "接单用户类型", width = 15)
    @ApiModelProperty(value = "接单用户类型")
	@NotBlank(message = "接单用户类型不能为空")
	private String takingUserType;
	/**接单用户真实姓名*/
	@Excel(name = "接单用户真实姓名", width = 15)
	@ApiModelProperty(value = "接单用户真实姓名")
	@NotBlank(message = "接单用户真实姓名不能为空")
	private String takingUserRealName;
	/**接单用户电话*/
	@Excel(name = "接单用户电话", width = 15)
	@ApiModelProperty(value = "接单用户电话")
	@NotBlank(message = "接单用户电话不能为空")
	private String takingUserPhone;
	/**服务项目code*/
	@Excel(name = "服务项目code", width = 15)
    @ApiModelProperty(value = "服务项目code")
	@NotBlank(message = "服务项目code不能为空")
	private String serviceItemsCode;
	/**服务项目名称*/
	@Excel(name = "服务项目名称", width = 15)
	@ApiModelProperty(value = "服务项目名称")
	@NotBlank(message = "服务项目名称不能为空")
	private String serviceItemsName;
	/**服务项目图片*/
	@Excel(name = "服务项目图片", width = 15)
	@ApiModelProperty(value = "服务项目图片")
	@NotBlank(message = "服务项目图片不能为空")
	private String serviceItemsPicUrl;
	/**订单状态(0-待支付,1-待服务,2-服务中,3-服务完成,4-取消,5-支付关闭)*/
	@Excel(name = "订单状态(0-待支付,1-待服务,2-服务中,3-服务完成,4-取消,5-支付关闭)", width = 15)
    @ApiModelProperty(value = "订单状态(0-待支付,1-待服务,2-服务中,3-服务完成,4-取消,5-支付关闭)")
	private String orderStatus;
	/**订单金额*/
	@Excel(name = "订单金额", width = 15)
    @ApiModelProperty(value = "订单金额")
	@NotNull(message = "订单金额不能为空")
	private java.math.BigDecimal orderAmount;
	/**服务出发时间*/
	@Excel(name = "服务出发时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "服务出发时间")
	private java.util.Date serviceOutTime;
	/**服务开始时间*/
	@Excel(name = "服务开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "服务开始时间")
	@NotNull(message = "服务开始时间不能为空")
	private java.util.Date serviceBeginTime;
	/**服务结束时间*/
	@Excel(name = "服务结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "服务结束时间")
	private java.util.Date serviceEndTime;
	/**服务时长*/
	@Excel(name = "服务时长", width = 15)
	@ApiModelProperty(value = "服务时长")
	@NotBlank(message = "服务时长不能为空")
	private String serviceDuration;
	/**服务坐标*/
	@Excel(name = "服务坐标", width = 15)
	@ApiModelProperty(value = "服务坐标")
	private String serviceCoordinate;
	/**经度*/
	@Excel(name = "经度", width = 15)
	@ApiModelProperty(value = "经度")
	@NotBlank(message = "经度不能为空")
	private String log;
	/**纬度*/
	@Excel(name = "纬度", width = 15)
	@ApiModelProperty(value = "纬度")
	@NotBlank(message = "维度不能为空")
	private String lat;
	/**服务地址*/
	@Excel(name = "服务地址", width = 15)
	@ApiModelProperty(value = "服务地址")
	@NotBlank(message = "服务地址不能为空")
	private String serviceAddress;
	/**距离*/
	@Excel(name = "距离", width = 15)
    @ApiModelProperty(value = "距离")
	@NotBlank(message = "距离不能为空")
	private String distance;
	/**出行费*/
	@Excel(name = "出行费", width = 15)
	@ApiModelProperty(value = "出行费")
	@NotNull(message = "出行费不能为空")
	private java.math.BigDecimal travelExpense;
	/**出行方式*/
	@Excel(name = "出行方式", width = 15)
	@ApiModelProperty(value = "出行方式")
	@NotBlank(message = "出行方式不能为空")
	private String travelMode;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String notes;
	/**实际金额*/
	@Excel(name = "实际金额", width = 15)
    @ApiModelProperty(value = "实际金额")
	@NotNull(message = "实际金额不能为空")
	private java.math.BigDecimal actualAmount;
	/**签到照片url*/
	@Excel(name = "签到照片url", width = 15)
    @ApiModelProperty(value = "签到照片url")
	private String signInPicUrl;
	/**签到视频url*/
	@Excel(name = "签到视频url", width = 15)
	@ApiModelProperty(value = "签到视频url")
	private String signInVideoUrl;
	/**服务签到时间*/
	@Excel(name = "服务签到时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "服务签到时间")
	private java.util.Date serviceSignTime;
	/**完成服务图片url*/
	@Excel(name = "完成服务图片url", width = 15)
    @ApiModelProperty(value = "完成服务图片url")
	private String finishServicePicUrl;
	/**完成服务视频url*/
	@Excel(name = "完成服务视频url", width = 15)
	@ApiModelProperty(value = "完成服务视频url")
	private String finishServiceVideoUrl;
	/**服务完成时间*/
	@Excel(name = "服务完成时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "服务完成时间")
	private java.util.Date finishServiceTime;
	/**是否评价(0-否,1-是)*/
	@Excel(name = "是否评价(0-否,1-是)", width = 15)
    @ApiModelProperty(value = "是否评价(0-否,1-是)")
	private String isEvaluate;
	/**订单打分*/
	@Excel(name = "订单打分", width = 15)
    @ApiModelProperty(value = "订单打分")
	private Double orderScoring;
	/**删除状态(0-正常,1-已删除)*/
	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除) ")
	private java.lang.String delFlag;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;


	@ApiModelProperty(value = "多个id逗号隔开")
	@TableField(exist = false)
	private String ids;
	@ApiModelProperty(value = "关键字")
	@TableField(exist = false)
	private String keywords;
	@ApiModelProperty(value = "开始时间")
	@TableField(exist = false)
	private String beginTime;
	@ApiModelProperty(value = "结束时间")
	@TableField(exist = false)
	private String endTime;

}
